<template>
  <div class="warning flex items-center">
    <el-icon><Warning /></el-icon>
    <span> Warning错误提示</span>
  </div>
</template>

<script setup>
import { openWindow } from "@/chat/utils/common";
// import { modelValue } from "@/ai/constant";
import emitter from "@/utils/mittBus";

defineOptions({
  name: "Warning",
});

const props = defineProps({
  payload: {
    type: Object,
    default: null,
  },
})
</script>

<style lang="scss" scoped>
.warning {
  font-size: 12px;
  color: #e6a23c;
  background-color: rgb(252.5, 245.7, 235.5);
  min-height: 36px;
  padding: 0 8px;
  border-radius: 3px;
  .el-icon {
    margin: 0 5px;
  }
}
</style>
